package com.miloyu.modelnet.request

/**
 * @Description
 * @Author 梁浩文
 * @Date 2021/9/14 17:22
 */
data class SportEndBeanItem(
    val type: Int,
    var calorie: Int ?=0,
    var duration: Int ?=0,
    var powerKg:String?="0"


) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as SportEndBeanItem

        if (type != other.type) return false

        return true
    }

    override fun hashCode(): Int {
        return type
    }
}